package com.common.boot.dao;

import com.common.boot.model.ScientificResearch;
import com.common.boot.model.ScientificResearchExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScientificResearchMapper {
    long countByExample(ScientificResearchExample example);

    int deleteByExample(ScientificResearchExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScientificResearch row);

    int insertSelective(ScientificResearch row);

    List<ScientificResearch> selectByExample(ScientificResearchExample example);

    ScientificResearch selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") ScientificResearch row, @Param("example") ScientificResearchExample example);

    int updateByExample(@Param("row") ScientificResearch row, @Param("example") ScientificResearchExample example);

    int updateByPrimaryKeySelective(ScientificResearch row);

    int updateByPrimaryKey(ScientificResearch row);
}